package com.bot.edu.noticessystem.notices.service.impl;

import com.bot.edu.noticessystem.notices.entity.Notices;
import com.bot.edu.noticessystem.notices.mapper.NoticesMapper;
import com.bot.edu.noticessystem.notices.service.INoticesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 通知表
 * @Author: jeecg-boot
 * @Date:   2022-04-27
 * @Version: V1.0
 */
@Service
public class NoticesServiceImpl extends ServiceImpl<NoticesMapper, Notices> implements INoticesService {

    @Autowired
    private NoticesMapper noticesMapper;

    @Override
    public int noticesCount(String noticeNameId, String noticesType) {
        return noticesMapper.noticesCount(noticeNameId,noticesType);
    }
}
